package xyz.playedu.inspection.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xyz.playedu.common.types.paginate.DeviceNamePaginateFiler;
import xyz.playedu.common.types.paginate.DeviceTypePaginateFiler;
import xyz.playedu.inspection.domain.DeviceNameDict;
import xyz.playedu.inspection.domain.DeviceTypeDict;

import java.util.List;


@Mapper
public interface DeviceNameDictMapper extends BaseMapper<DeviceNameDict> {

    List<DeviceNameDict> paginate(DeviceNamePaginateFiler filer);

    Long paginateCount(DeviceNamePaginateFiler filer);

    DeviceNameDict getDeviceTypeById(@Param("id") Long id);

    int delInfoById(@Param("id") Long id);
}
